package com.gxa.finance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.common.commons.JsonResult;
import com.gxa.common.commons.R;
import com.gxa.finance.pojo.Bill;

import java.math.BigDecimal;

public interface BillService extends IService<Bill>{
    /**
     * 创建收款计划
     * @param bill
     * @return
     */
    R addBill(Bill bill);


    R updateBillStatus(Bill bill);

    JsonResult findByDateBills(Integer currentPage, Integer pageSize, String staTime, String offTime, String b_type, Integer b_status);

    JsonResult findBillList(Integer currentPage, Integer pageSize, String b_type);

    R findByOrderId(String orderId,String b_type, Integer b_status);

    R findByBillId(String billId, String b_type, Integer b_status);
}
